import {creatReducers} from '../creatReducer'

// state
let homeState = {
  num:1
}

// reducersList
let homeAction = {
  ADD:addTodo
}


// reducers
function addTodo(state,action){
 let b = state.num += 1;
 return {num:b};
}





const homeReducers = creatReducers(homeState ,homeAction);
export default homeReducers;

 